{dede:config.pagesize value='20' /}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>加盟管理</title>
<link href="css/base.css" rel="stylesheet" type="text/css">
</head>
<body background="images/allbg.gif" leftmargin="8" topmargin='8'>
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6">
  <tr>
    <td height="28" background="images/tbg.gif" colspan="9" style="padding-left:10px;">
      <b><a href="ad_main.php">加盟管理</a></b>
   </td>
</tr>
  <tr>
    <td height="28" colspan="9" style="padding-left:10px;" bgcolor="#FFFFFF"><table>
      <tr>
        <form action='join_main.php' method='get' name='form3' id="form3">
          <input type='hidden' name='dopost' value='listArchives' />
          <td><table width='900' border='0' cellpadding='0' cellspacing='0'>
            <tr>
              <td width='90' align='center'>姓名：</td>
              <td width='124'><input type='text' name='name' style='width:150' value="<?php echo $name;?>"/></td>
              <td width='40' align='center'>手机：</td>
              <td width='120'><input type='text' name='tel' style='width:150' value="<?php echo $tel;?>"/></td>
              <td width='80'>加盟意向： </td>
              <td width='80'> 
          <select name="isjoin" id="isjoin">
          <option value="有"  <?php if($isjoin=='有'){?>selected="selected"<?php }?>>有</option>
          <option value="无" <?php if($isjoin=='无'){?>selected="selected"<?php }?>>无</option>
          </select></td>
          <td width='80'>状态： </td>
              <td width='80'> 
          <select name="state" id="state">
           <option value="">请选择</option>
          <option value="1"  <?php if($state=='1'){?>selected="selected"<?php }?>>已审核</option>
          <option value="0" <?php if($state=='0'){?>selected="selected"<?php }?>>未审核</option>
          </select></td>
              <td width="130"><input name="imageField" type="image" src="images/button_search.gif" width="60" height="22" border="0" class="np" /></td>
            </tr>
          </table></td>
        </form>
      </tr>
    </table></td>
  </tr>
  <tr align="center"  bgcolor="#FBFCE2" height="24"> 
      <td width="3%">编号</td>
       <td width="5%">姓名</td>
       <td width="10%">是否有加盟意向</td>
      <td width="10%">所在地区</td>
      <td width="20%">留言内容</td>
      <td width="11%">手机号码</td>
      <td width="11%">邮箱</td>
      <td width="11%">状态</td>
      <td width="18%">管理</td>
   </tr>
   
   {dede:datalist}
    <tr align="center" bgcolor="#FFFFFF" height="24" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#FFFFFF';"> 
        <td>{dede:field.join_id /}</td>
        <td>{dede:field.name /}</td>
        <td>{dede:field.isjoin function='getisjion(@me)' /}</td>
        <td>{dede:field.area /}</td>
        <td>{dede:field.message /}</td>
        <td>{dede:field.tel /}</td>
        <td>{dede:field.mail /}</td>
        <td>{dede:field.state function='getstate(@me)' /}</td>
        <td>
            <a href='join_main.php?join_id={dede:field.join_id /}&dopost=detail'>[详情]</a>
		     <a href='join_main.php?join_id={dede:field.join_id /}&dopost=delete' onclick="if(confirm('确定要删除这个信息吗？')){ return true; }else { return false; }">[删除]</a>
		    </td>
     </tr>
		{/dede:datalist}
     <tr align="center" bgcolor="#F9FCEF" height="24"> 
      <td colspan="9">
      	{dede:pagelist listsize=5/}
      </td>
     </tr>
   </table>
   </td>
</tr>
</table>
</body>
</html>